﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Db4objects.Db4o;

namespace DHLAppMovil
{
    public partial class FrmInicio : Form
    {
        public FrmInicio()
        {
            InitializeComponent();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }

        private void btnIniciar_Click(object sender, EventArgs e)
        {
            //string rutaApp = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);

            //using (IObjectContainer db = Db4oEmbedded.OpenFile(rutaApp + "\\bd.db4o"))
            //{
            //    db.Store(new BE.Class1("caso"));
            //    db.Commit();
            //    db.Close();
            //}
            
            FrmApp app = new FrmApp();
            app.ShowDialog();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}